import request from '@/utils/request'



// 上传预案地图图片
export function uploadPlanImg(fromData, callback){
    return request({
        url: "/common/upload",
        method: "post",
        data: fromData,
        onUploadProgress: e => {
            if (e.lengthComputable) {
                callback && callback(e);
            }
        }
    })
}


